﻿using System.ComponentModel.Composition;
using Easy.Plugin.Interface;

namespace Easy.ServiceLocator.Unity.Plugins
{
    [Export(typeof(IExportServiceLocatorPlugin))]
    class ExportServiceLocatorPlugin : IExportServiceLocatorPlugin
    {
        public Microsoft.Practices.ServiceLocation.IServiceLocator Export()
        {
            return EasyUnity.GetSingletonContainer();
        }
    }
}
